package com.cmxh.shipper.service.impl;

import com.cmxh.shipper.mapper.CargoMapper;
import com.cmxh.shipper.pojo.Cargo;
import com.cmxh.shipper.service.CargoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CargoServiceimpl implements CargoService {
    @Autowired
    private CargoMapper cargoMapper;
    @Override
    public List<Cargo> selectAll() {
        return cargoMapper.selectAll();
    }
}
